home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / help210.lqr / HELP.DAT < prev    next >
Encoding:
Text File  |  1985-06-03  |  16.3 KB  |  336 lines

  1.  
  2. #C ASSIGN
  3. #F Routes requests to a different drive.                     Page 2-6
  4. #X ASSIGN [x=y [...]]
  5. #E ASSIGN A=C B=C      assigns all requests for drives A & B to C.
  6.    ASSIGN              restores all drive assignments to normal.
  7. #C BACKUP
  8. #F Backs Up Fixed Disk Files                                 Page 2-9
  9. #X BACKUP [d:][path]]filename][.ext] d:[/S][/M][/A][/D:mm-dd-yy]
  10.    /S - Files in all subdirectories will also be backed up
  11.    /M - Backup only those files that have changed since last backup
  12.    /A - Backup files to be added to the diskette in the specified drive
  13.    /D:mm-dd-yy - Backup on or after the specified date
  14. #E BACKUP C:\ A: /S    backs up all files on C to A.
  15. #C BASIC[A]
  16. #F Starts the basic interpreter (normal or advanced).
  17.    Optionally executes the program name given as a parameter.
  18. #X BASIC[A] [d:][program[.bas]]
  19. #E BASICA TEST   loads the BASIC interpreter and executs TEST.BAS.
  20. #C BATCH
  21. #F Executes Batch file                                       Page 2-13
  22. #X [d:filename[parameters]
  23. #C BREAK
  24. #F Checks for Control Break                                  Page 2-33
  25. #X BREAK [ON | OFF]
  26. #C CD
  27. #F Changes Current Directory - same as CHDIR                 Page 2-35
  28. #X CD [[d:[path]]
  29. #E CD \                change the current directory to the root directory.
  30.    CD \LEVEL1\LEVEL2   change the current drives directory to level2.
  31. #C CHDIR
  32. #F Changes Current Directory - same as CD                    Page 2-35
  33. #X CHDIR [[d:[path]]
  34. #E CHDIR \                     change the current directory to the root
  35.                                directory.
  36.    CHDIR \LEVEL1\LEVEL2        change the current drives directory to level2.
  37. #C CHKDSK
  38. #F Checks disk and reports status                            Page 2-38
  39. #X CHKDSK [d:][filename] [/F][/V]
  40.    /F - Will try to Fix errors in the File Allocation Table
  41.    /V - Will tell of progress in CHKDSK (Verbose)
  42. #E CHKDSK B: /F    checks drive B and fixes all allocation errors.
  43. #C CLS
  44. #F Clears CRT Screen                                         Page 2-42
  45. #C COMP
  46. #F Compares files                                            Page 2-44
  47. #X COMP [d:][path][filespec[.ext]] [d:][path][filename[.ext]]
  48. #E COMP A:JUNK B:JUNK   compares junk on drive A to junk on drive B.
  49.    COMP A:*.ASM C:             compares all files with the extension .ASM
  50.                                on drive A to the files with the same name on C.
  51.    COMP A:\LEVEL1 A:\LEVEL2    compares all files in subdirectory level1
  52.                                to the corresponding files in level2.
  53. #C COPY
  54. #F Copies files                                              Page 2-48
  55. #X COPY <filespec> [d:][path][filename[.ext]]
  56.    COPY [/A][/B][filespec][/A][/B] [filespec][/A][/B][/V]
  57.    /A - Treat as ASCII file.  When used with source file name copies
  58.         up to but not including the first Ctrl Z (EOF marker).
  59.         When used with target file name causes a Ctrl Z to be added as
  60.         the last character of the file.
  61.    /B - With source file name entire file based on directory size is copied.
  62.         With target file causes NO Ctrl Z to be added to the file.
  63.    /V - Verify that target sectors are written correctly.
  64. #E COPY A:HELP.DAT B:          copies help.dat to drive B.
  65.    COPY A:HELP.DAT TEMP        creates the file TEMP on the default drive and
  66.                                copies HELP.DAT into it.
  67.    COPY B:*.* C:               copies all files on B to C.
  68.    COPY A:FILE1+B:FILE2 C:FILE3        copies a:file1 and b:file2 into c:file3.
  69. #C CTTY
  70. #F Changes to an Auxiliary Console                           Page 2-61
  71. #X CTTY device-name
  72. #C DATE
  73. #F Set/Read the current date                                 Page 2-63
  74. #X DATE [mm-dd-yy]
  75. #C DEL
  76. #F DELete/Erase files from diskette                          Page 2-65
  77. #X   DEL [d:]<filespec> or
  78.      Erase [d:]<filespec>
  79. #E DEL B:*.BAS   deletes all files on B with the extension .BAS.
  80. #C DIR
  81. #F List filenames on diskette                                Page 2-66
  82. #X DIR [d:][<filename[.ext]>][/P][/W]
  83.        where /P will pause the screen when it is full
  84.        where /W will provide a wide display, 5 file names per line.
  85. #E DIR /P    displays all files on the current drive, pauses when screen
  86.             is full.
  87.    DIR B:*.LST   displays all files on B with extension .LST.
  88. #C DISKCOMP
  89. #F Compares diskettes                                        Page 2-73
  90. #X DISKCOMP [d:] [d:][/1][/8]
  91.    /1 - One side only. The default is 2 sides.
  92.    /8 - Eight Sector.  The default is 9 sectors.
  93. #E DISKCOMP A: B:    compares the double sided 9 sector diskettes in A & B.
  94. #C DISKCOPY
  95. #F Copies diskettes                                          Page 2-77
  96. #X DISKCOPY [d:] [d:][/1]
  97.    /1 - Copy one side only.
  98.    The first drive [d:] is the source drive (copy from).
  99.    The second drive [d:] is the target drive (copy to).
  100. #E DISKCOPY A: B:    copies the diskette in A to B.
  101. #C ECHO
  102. #F Inhibits Screen Display - Batch Command                   Page 2-20
  103. #X ECHO [ON|OFF|message]
  104.    ON  causes batch file commands to be displayed on the screen.  This
  105.        is the default setting.
  106.    OFF prevents further display of batch file commands except text
  107.        following the command ECHO.
  108. #E ECHO OFF                    stops the display of batch file commands.
  109.    ECHO  THIS IS A MESSAGE     displays THIS IS A MESSAGE on the screen
  110.                                even if echo is off.
  111. #C ERASE
  112. #F ERASE/Delete files from diskette                          Page 2-81
  113. #X   ERASE [d:]<filespec> or
  114.      DEL [d:]<filespec>
  115. #E ERASE B:*.BAS    deletes all files on B with the extension .BAS.
  116. #C EXE2BIN
  117. #F Converts some .EXE Files to .COM format                   Page 2-83
  118. #X EXE2BIN [d:][path]filename[.ext] [d:][path][filename][.ext]]
  119. #C FIND
  120. #F Searches Files for Strings of Text.                       Page 2-87
  121. #X FIND [/V][/C][/N]string[[d:][path]filename[.ext] ...]
  122.    /V - All Lines NOT containing string are displayed.
  123.    /C - Display a count of the number of matches in file.
  124.    /N - Display the relative line Number of eatch matching
  125.        line to be displayed before the line from the file.
  126. #E FIND "Fool's Paradise" BOOK1.TXT BOOK2.TXT BOOK3    outputs all lines
  127.        from book1.txt, book2.txt, and book3 (in that order) that contain
  128.        the string Fools Paradise.
  129.    DIR B: | FIND /V "DAT"      outputs the names of all files on B that
  130.                                do not contain the string DAT.
  131. #C FOR
  132. #F Iterative Execution of Commands - Batch command         Page 2-22
  133. #X FOR %%variable IN (set) DO command
  134. #E FOR %%X IN (*.PAS) DO COPY %%X B:    will copy all files with the
  135.                                         extension .PAS to drive B.
  136.    FOR %%a IN (FILE1 FILE2) DO DIR %%a  will list the directory information
  137.                                         for FILE1 and FILE2.
  138. #C FORMAT
  139. #F Formats a diskette                                        Page 2-89
  140. #X FORMAT [d:][/S][/1][/8][/V][/B]
  141.        where /S will put COMMAND.COM on the diskette.
  142.        where /1 formats the diskette as one-sided.
  143.        where /8 formats with eight sectors per track.
  144.        where /V Will allow a volume name to be entered.
  145.        where /B Leaves space on the disc for an operating system to
  146.                be installed with the SYS command.
  147.    *** WARNING ***  The format command destroys all files on the disk.
  148. #E FORMAT B:   formats the diskette in drive B.
  149. #C GOTO
  150. #F Transfers Control to the Line Following the Label         Page 2-23
  151.    Batch Command
  152. #X GOTO label
  153.         where label is a line in the batch file containing a label
  154.         that begins with a colon.
  155. #E GOTO ABORT   transfers control to the line following the label
  156.                 :ABORT in the batch file.
  157. #C GRAPHICS
  158. #F Loads the graphics screen print routine.                  Page 2-96
  159.    After this has been done the print screen key will work
  160.    when the display screen is in graphics mode.  You only need to
  161.    do this once each time the computer is turned on or reset.
  162. #E GRAPHICS    installs the graphics print routine.
  163. #C HELP
  164. #F Provides help with DOS commands
  165. #X HELP [command] or
  166.    HELP to display menu of commands
  167. #E HELP HELP   displays this screen.
  168. #C IF
  169. #F Conditional Execution of Commands - Batch Command         Page 2-24
  170. #X IF [NOT] condition command
  171.         where the condition parameter is one of the following:
  172.                 ERRORLEVEL number
  173.                 string1==string2
  174.                 EXIST filespec
  175. #E IF EXIST FILE1 GOTO ABC      transfers control to label :ABC if FILE1
  176.                                 exists on the default drive.
  177.    IF %1==Doug ECHO HI DOUG     displays the message HI DOUG on the screen
  178.                                 if parameter 1 was Doug.
  179.    MYPROG
  180.    IF ERRORLEVEL 2 GOTO ABORT   transfers control to label :ABORT if the
  181.                                 program MYPROG set the errorlevel to 2 or
  182.                                 more before terminating.
  183.    IF NOT EXIST FILE2 ECHO THE FILE DOES NOT EXIST      displays the message
  184.                                 if FILE2 does not exist on the default drive.
  185. #C MD
  186. #F Creates (Makes) a Subdirectory - Same as MKDIR.           Page 2-98
  187. #X MD [d:]path
  188. #E MD LEVEL1           creates subdirectory level1 under the current
  189.                        directory.
  190.    MD \LEVEL1\LEVEL2   creates subdirectory level2 under subdirectory
  191.                        level1 when the current directory is the root.
  192. #C MKDIR
  193. #F Creates (Makes) a Subdirectory - Same as MD               Page 2-98
  194. #X MKDIR [d:]path
  195. #E MKDIR LEVEL1                creates subdirectory level1 under the current
  196.                                directory.
  197.    MKDIR \LEVEL1\LEVEL2        creates subdirectory level2 under subdirectory
  198.                                level1 when the current directory is the root.
  199. #C MODE
  200. #F Set the mode of the printer , display or COM Port.        Page 2-100
  201. #X MODE [LPT#:][n][,[m][,P]]   (sets printer parameters)
  202.                # = 1, 2, or 3  (the printer number)
  203.                n = 80 or 132   (characters per line)
  204.                m = 6 or 8      (lines per inche)
  205.                P = continuous retry on time-out errors
  206.    MODE n or  MODE [n],m[,T]   (sets video display parameters)
  207.                n = 40, 80, BW40, BW80, CO40, CO80, or MONO
  208.                m = R or L      (shift the display right or left)
  209.                T   requests a test pattern to align the display.
  210.    MODE COMn:baud[,parity][,databits[,stopbits[,P]]]
  211.                n = asynchronous communications adapter number
  212.                P = continuous retry on time-out errors
  213.    MODE LPT#:=COMn             (directs printer output to serial port)
  214.                # = 1, 2, or 3  (the printer number)
  215.                n = asynchronous communications adapter number
  216. #C MORE
  217. #F Displays a screen-full of data at a time                  Page 2-107
  218. #X MORE <[filespec]
  219. #E MORE <FOO.DAT       displays the file FOO.DAT on the screen and pauses
  220.                        when the screen is full until a key is pressed.
  221. #C PATH
  222. #F Searches Directories for Commands or Batch Files          Page 2-108
  223. #X PATH [d:]path[[;[d:]path...]
  224. #E PATH C:\;A:\        search the root directory of drive C then the root
  225.                        directory of drive A for programs or batch files.
  226. #C PAUSE
  227. #F Provides a system wait - Batch Command                    Page 2-28
  228. #X PAUSE [remark]
  229. #E PAUSE THIS IS A MESSAGE     displays the message THIS IS A MESSAGE on the
  230.                                screen and waits for a key to be pressed.
  231. #C PRINT
  232. #F Queues and prints data files                              Page 2-110
  233. #X PRINT [[d:][filename[.ext]][/T][/C][/P] ...]
  234.    /T - Terminate mode - Stop printing and delete all file names from
  235.         the print queue.
  236.    /C - Cancel mode - The preceeding filename and all following filenames
  237.         are cancelled from the print queue.
  238.    /P - Print mode - The preceeding filename and all following filenames
  239.         are added to the print queue to be printed.
  240. #E PRINT FILE1 FILE2           adds file1 and file2 to the print queue.
  241.    PRINT FILE1/C FILE2 FILE3/P deletes file1 and file2 from the print queue
  242.                                and adds file3 to the print queue.
  243. #C PROMPT
  244. #F Sets New Prompt                                           Page 2-116
  245. #X PROMPT [prompt-text]
  246.    The following special strings may also be included in the prompt text.
  247.        $$ = the $ character            $t = the time
  248.        $d = the date                   $p = the current directory
  249.        $v = DOS version number         $n = the default drive letter
  250.        $g = the > character            $l = the < character
  251.        $b = the | character            $q = the = character
  252.        $h = backspace and erase        $e = the escape character
  253.             the previous character     $- = carriage return line feed
  254. #E PROMPT $n:          the default drive letter followed by a colon.
  255.    PROMPT $n:$p  $h    the default drive letter, a colon, the current
  256.                        directory, 2 spaces, and a backspace.
  257. #C RECOVER
  258. #F Recovers files on a damaged disk                          Page 2-119
  259. #X RECOVER [d:][path]filename[.ext]
  260.    or RECOVER d:
  261. #C REM
  262. #F Displays a remark - Batch Command                         Page 2-29
  263. #X REM [remark]
  264. #E REM Test Batch File          displays the message Test Batch File on the
  265.                                 screen if ECHO is on. (See ECHO command).
  266. #C RENAME
  267. #F Renames a file on a diskette                              Page 2-122
  268. #X REN[AME] <filespec>
  269. #E RENAME FILEAAA FILEBBB.XXX          changes the name of FILEAAA to
  270.                                        FILEBBB.XXX.
  271. #C RESTORE
  272. #F Restores diskette files to fixed disk                     Page 2-124
  273. #X RESTORE d: [d:][path][filename][.ext][/S][/P]
  274.    /S - Backed up files in all subdirectories will be restored
  275.    /P - Prompt before restoring files that have changed since backup
  276.    The files must have been saved to diskette with the BACKUP command.
  277. #E RESTORE A: C:*.DAT          restores all files with the extension .DAT
  278.                                that were backed up from the current directory.
  279. #C RD
  280. #F Removes a subdirectory - same as RMDIR                    Page 2-127
  281. #X RD [d:]path
  282. #E RD B:\LEVEL2\LEVEL3         removes the subdirectory LEVEL3 from LEVEL2.
  283. #C RMDIR
  284. #F Removes a subdirectory - same as RD                       Page 2-127
  285. #X RMDIR [d:]path
  286. #E RMDIR B:\LEVEL2\LEVEL3              removes the subdirectory LEVEL3 from
  287.                                        LEVEL2.
  288. #C SET
  289. #F Inserts Strings into the Command Processor's Environment     Page 2-128
  290. #X SET [name=[parameter]]
  291.  
  292. #C SHIFT
  293. #F Shifts command line parameters left - Batch Command       Page 2-30
  294. #X SHIFT
  295.         Allows use of more than 10 parameters on batch command lines.
  296.         Also allows use of succesive parameters in a loop in a batch file.
  297. #E If the file TEST.BAT is invoked with the command TEST A B C and contains
  298.    the commands:        SHIFT
  299.                         ECHO %1
  300.                         SHIFT
  301.                         ECHO %1
  302.    the first echo command will display B and the second will display C.
  303. #C SORT
  304. #F Sorts Text Data                                           Page 2-131
  305. #X SORT [/R][/+n]
  306.    /R - Reverse order sort
  307.    /+n - Start the sort on column n
  308. #E SORT /R <UNSORT.TXT >SORT.TXT       reads the file UNSORT.TXT, sorts the
  309.                                        records, and writes them to SORT.TXT.
  310.    DIR | SORT /+14                     produce a directory listing sorted
  311.                                        by file size (size starts in column14.
  312. #C SYS
  313. #F Transfers the DOS System to a disk                        Page 2-133
  314. #X SYS d:
  315. #C TIME
  316. #F Set/Read the time                                         Page 2-134
  317. #X TIME [hh:mm:ss.xx]
  318. #C TREE
  319. #F Displays all directory paths                              Page 2-136
  320. #X TREE [d:][/F]
  321.    /F - Display the names of all files in each path
  322. #C TYPE
  323. #F Display a ASCII file on the screen                        Page 2-139
  324. #X TYPE <filespec>
  325. #E TYPE a:\help\help.dat
  326. #C VER
  327. #F Displays DOS Version Number                               Page 2-141
  328. #C VERIFY
  329. #F Verifies Data                                             Page 2-142
  330. #X VERIFY [ON|OFF]
  331. #C VOL
  332. #F Displays Volume Identification                            Page 2-144
  333. #X VOL [d:]
  334. 
  335.  
  336.